package models.crawlers.events;

import models.crawlers.events.base.ProductEvent;
import models.entities.ProductEntity;

public class ProductUpdated extends ProductEvent {
    public boolean isDescriptionChanged;
    public boolean isShortDescriptionChanged;

    public ProductUpdated(ProductEntity product, String productLink, boolean descriptionChanged, boolean shortDescriptionChanged, int sessionId) {
        this.product = product;
        this.link = productLink;
        this.isDescriptionChanged = descriptionChanged;
        this.isShortDescriptionChanged = shortDescriptionChanged;
        this.sessionId = sessionId;
    }
}
